function numToHex(num:number, len:number) {
    let hex = num.toString(16)

    return hex.padStart(len, '0')
}

function strategy(data:any) {
    const chargeType = numToHex(data.chargeType, 2)
   
}